$(function() {
    let user = sessionStorage.getItem("user");
    user = JSON.parse(user);
    if (user.auth !== 2){
        window.location.href = '../../page/publicPage/404.html';
    }
})